package org.helgoboss.janana;

import java.io.File;

public interface Janana {
    /**
     * Stops Janana. Immediately returns, doesn't wait.
     */
    void stop();
    
    /**
     * Returns the directory where Janana places user-specific data, usually "${user.home}/.janana".
     */
    File getUserDataDir();
    
    /**
     * Returns the directory where Janana is installed.
     */
    File getHomeDir();
    
    /**
     * Installs one of the system bundles in the lib directory.
     */
    void installSystemBundle(String symbolicId);
}